<!DOCTYPE html>
<html>

<head>
<title>添加代理</title>
<meta http-equiv="Pragma" CONTENT="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="renderer" content="webkit">

<%include("/common/include.html"){}%>
<style type="text/css">
	.required{
		display:inline-block;
		width: 30%;
	}
	.requiredx{
		display:inline-block;
		width: 89%;
	}
	label{
		text-align:right;
		width:70px;
		display:inline-block;
	}
</style>
</head>

<body>
	<div class="easyui-panel" style="width: 100%; padding: 30px 60px; border-width: 0px;">
		<form id="upPlate" method="post" class="form">
		<input class="easyui-textbox theme-textbox-radius" type="hidden" name="plateMaintenance.ids"  value="${plateMaintenance.ids! }">
			<div style="margin-bottom: 20px;">
				<label class="label-top">号牌:</label>
				<div class="required">
					<input class="easyui-textbox theme-textbox-radius" style="width: 100%;" name="plateMaintenance.carnumber"  value="${plateMaintenance.carnumber! }">
				</div>
				<span style="color:red">*必填项</span>
				<label class="label-top" style="margin-left:30px">生产厂家:</label>
				<div class="required">
					<input class="easyui-textbox theme-textbox-radius" style="width: 100%;" name="plateMaintenance.manufacturer" value="${plateMaintenance.manufacturer! }">
				</div>
				<span style="color:red">*必填项</span>
			</div>
				<div style="margin-bottom: 20px">
					<label class="label-top">长:</label>
					<div class="required">
						<input class="easyui-numberspinner inputBox theme-textbox-radius" style="width: 100%;" name="plateMaintenance.chang" data-options="increment:0.1,min:1,max:100000,precision:2,label:'cm'" value="${plateMaintenance.chang! }">
					</div>
					<span style="color:red">*必填项</span>
					<label class="label-top" style="margin-left:30px">宽:</label>
					<div class="required">
						<input class="easyui-numberspinner inputBox theme-textbox-radius" style="width: 120%;" name="plateMaintenance.width" data-options="increment:0.1,min:1,max:100000,precision:2,label:'cm'" value="${plateMaintenance.width! }">
					</div>
					<span style="color:red">*必填项</span>
				</div>
				
				<div style="margin-bottom: 20px">
					
					<!-- <label class="label-top" >高:</label>
					<div class="required">
						<input class="easyui-numberspinner inputBox theme-textbox-radius" style="width: 100%;" name="plateMaintenance.height" data-options="increment:0.1,min:1,max:100000,precision:2,label:'cm'" value="${plateMaintenance.height! }">
					</div>
					<span style="color:red">*必填项</span> -->
				
					<label class="label-top" >颜色:</label>
					<div class="required">
						<input class="easyui-textbox theme-textbox-radius" style="width: 100%;" name="plateMaintenance.color" value="${plateMaintenance.color! }">
					</div>
					<span style="color:red">*必填项</span>
					
				</div>
				
			
			
		
			
			<div id="partVal" style="display: none;">
			
			</div>
		
		</form>

	</div>
	
	<script type="text/javascript">
		
		//@ sourceURL=mmm.js
		var $form = $('#upPlate');

		var submitNow = function($dialog, $grid, $tree, $pjq) {
			
			$("#partVal").html($("#partText").html());
			var url = "${cxt!}/plateMaintenance/upPlate";
			$.post(url, sy.serializeObject($form), function(result) {
				if (result.code == '200') {
					$grid.datagrid('reload');
					$.slideMsg("修改成功！", $pjq);
					$dialog.dialog('destroy');
				} else {
					$.alert($pjq, result.msg);
				}
			}, 'json');
		};
		var submitForm = function($dialog, $grid, $tree, $pjq) {
			submitNow($dialog, $grid, $tree, $pjq);
			// 					$form.isValid(function(isValied){
			// 						if(isValied){
			// 							submitNow($dialog, $grid, $pjq);
			// 						}
			// 					});
		};
	</script>
</body>
</html>